package com.isesol.ime.entity;

import com.isesol.ime.*;
import com.isesol.orm.jpa.*;

import javax.persistence.*;

/**
 *
 * @author Wang Jun
 */
@Entity
@Table(name = "ime_data", catalog = Constant.DB_SCHEME_IME_DATA)
@Access(AccessType.FIELD)
public class Data extends IdEntity<Long>{

	private String type;

	private String subContent;

	public String getType(){

		return type;
	}

	public void setType(String type){

		this.type = type;
	}

	public String getSubContent(){

		return subContent;
	}

	public void setSubContent(String subContent){

		this.subContent = subContent;
	}

	@Override
	public String toString(){

		return "Data{" +
				"type='" + type + '\'' +
				", subContent='" + subContent + '\'' +
				'}';
	}
}
